<?php include('includes/header.php');?>
<div id="main">
	<span class="panel_title"><?php _("记单词");?></span>
	<div id="dashboard" class="content" user-id="<?php e($_SESSION['user']['id'])?>">
		<div class="loading"><img src="/assets/images/ajax-loader.gif" width="31px" height="31px" align="absmiddle" />&nbsp;今日学习任务加载中...</div>
		<div class="none hidden">
			<div>今日需要学习的单词量为0</div>
			<a href="/collect_words">去收藏新单词</a>
		</div>
		<div class="course hidden">
			<div>
				<input type="button" class="btn" value="开始学习" id="start_learning"/>
				<span class="hidden">
				<img src="/assets/images/ajax-loader.gif" align="absmiddle" />&nbsp;正在加载中，请稍等。
				</span>
			</div>
			<div class="amount">
				<table border=1>
					<tr>
						<td class="stat total"><div>0</div><span>今日任务</span></td>
						<td class="stat done"><div>0</div><span>已完成</span></td>
						<td class="stat undone"><div>0</div><span>未完成</span></td>
					</tr>
				</table>
				<table border=1>
					<tr>
						<td class="subtotal familiarity_1"><div>0</div><span><?php e(familiarity(1))?></span></td>
						<td class="subtotal familiarity_2"><div>0</div><span><?php e(familiarity(2))?></span></td>
						<td class="subtotal familiarity_3"><div>0</div><span><?php e(familiarity(3))?></span></td>
						<td class="subtotal familiarity_4"><div>0</div><span><?php e(familiarity(4))?></span></td>
					</tr>
					<tr>
						<td class="words words_1"></td>
						<td class="words words_2"></td>
						<td class="words words_3"></td>
						<td class="words words_4"></td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="/assets/javascripts/voca.course.js"></script>
<script type="text/javascript">
	$(function(){
		VocaCourse.task_info();
		VocaCourse.initialize();
	});
</script>
<?php get_footer();?>